package com.erp.erp_servers.ProductLog;

import com.erp.erp_entitys.ProductLog.ProductLogEntity;
import com.erp.erp_entitys.ProductLog.ProductLogExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IProductLogService {
    long countByExample(ProductLogExample example);

    int deleteByExample(ProductLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductLogEntity record);

    int insertSelective(ProductLogEntity record);

    List<ProductLogEntity> selectByExample(ProductLogExample example);

    ProductLogEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductLogEntity record, @Param("example") ProductLogExample example);

    int updateByExample(@Param("record") ProductLogEntity record, @Param("example") ProductLogExample example);

    int updateByPrimaryKeySelective(ProductLogEntity record);

    int updateByPrimaryKey(ProductLogEntity record);

    void savelog(String productCode,String type,String content,String username,String usercode);
}
